package com.huaxin.hxcloud.find.view;

/**
 * @author: songxf
 * @description:  关注EventBus
 * @projectName: HxCloud
 * @date: 2017-07-01
 * @time: 22:55
 */

public class CollectDataEventBus {

    public int questionId;
    public boolean collect; //是否收藏
    public int collectNum;

    public CollectDataEventBus(int questionId, boolean collect, int collectNum) {
        this.questionId = questionId;
        this.collect = collect;
        this.collectNum = collectNum;
    }

    public int getQuestionId() {
        return questionId;
    }

    public void setQuestionId(int questionId) {
        this.questionId = questionId;
    }

    public boolean isCollect() {
        return collect;
    }

    public void setCollect(boolean collect) {
        this.collect = collect;
    }

    public int getCollectNum() {
        return collectNum;
    }

    public void setCollectNum(int collectNum) {
        this.collectNum = collectNum;
    }

    @Override
    public String toString() {
        return "CollectDataEventBus{" +
                "questionId=" + questionId +
                ", collect=" + collect +
                ", collectNum=" + collectNum +
                '}';
    }
}
